<?php

use Elite\Infrastructure\Routing\Route;

return function(Route $route) {
    $route->setNamespace('App\Controller\Admin');

    // http://127.0.0.1/admin/server/time
    $route->group('/admin', function(Route $route) {
        $route->get('/server/time', 'ServerController@getTime');
    });
};